#if defined(TSINGMA_MX) || defined(TSINGMA_GX) || defined(ARCTIC)
/**
 @file sys_tmm_linkagg.h

 @date 2018-03-06

 @version v1.0

 The file contains tmm linkagg funcation
*/

#ifndef _SYS_TMM_LINKAGG_H
#define _SYS_TMM_LINKAGG_H
#ifdef __cplusplus
extern "C" {
#endif

/****************************************************************
 *
 * Header Files
 *
 ***************************************************************/
extern int32
sys_tmm_linkagg_add_nonuc_ports(uint8 lchip, void* p_lag_group, uint32 gport, uint8 nonuc_block_en);
extern int32
sys_tmm_linkagg_remove_nonuc_ports(uint8 lchip, void* p_lag_group, uint32 gport, uint8 nonuc_block_en);
extern int32
sys_tmm_linkagg_destroy(uint8 lchip, void* p_lag_group);
extern int32
sys_tmm_linkagg_dlb_init(uint8 lchip);
extern int32
sys_tmm_linkagg_dlb_set_config(uint8 lchip, void* p_cfg);
extern int32
sys_tmm_linkagg_dlb_get_config(uint8 lchip, void* p_cfg);
extern int32
sys_tmm_linkagg_set_lsh(uint8 lchip, void* p_lag_group, uint32 fail_port, void* p_ports);
extern int32
sys_tmm_linkagg_channel_update_nonuc_ports(uint8 lchip, bool is_add_port, uint16 chan_id, uint32* mem_bmp);
#ifdef __cplusplus
}
#endif

#endif
#endif

